package com.donghaiair.business.sms.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 公文流程执行明细表(点线表)
 * </p>
 *
 * @author zhangli
 * @since 2017-09-14
 */
@TableName("T_DOC_WORK_TASK_DETAIL")
public class TDocWorkTaskDetail extends Model<TDocWorkTaskDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 流状态 1开放流 2固定流 
     */
	@TableField("WORK_STATE")
	private Integer workState;
    /**
     * 是否最后一条 1是 0否
     */
	@TableField("IS_LAST")
	private Integer isLast;
    /**
     * 是否已读 1是 0否
     */
	@TableField("IS_READ")
	private Integer isRead;
    /**
     * 是否超时 1是 0否
     */
	@TableField("IS_OVERTIME")
	private Integer isOvertime;
    /**
     * 是否会签 1是 0否
     */
	@TableField("IS_SIGN")
	private Integer isSign;
    /**
     * 是否撤回 1是 0否
     */
	@TableField("IS_BACK")
	private Integer isBack;
    /**
     * 0待处理(固定流)1 处理通过，2处理不通过， 3驳回 4会签有异议
     */
	private Integer state;
    /**
     * 执行内容（意见）
     */
	@TableField("TASK_CONTENT")
	private String taskContent;
    /**
     * 执行时间（下一条数据创建时间）
     */
	@TableField("TASK_TIME")
	private String taskTime;
    /**
     * 当前结点开始时间（当前数据创建时间）
     */
	@TableField("START_TIME")
	private String startTime;
    /**
     * 上一个节点id
     */
	@TableField("PARENT_TASK_ID")
	private String parentTaskId;
    /**
     * 上一执行人姓名
     */
	@TableField("LAST_USER_NAME")
	private String lastUserName;
    /**
     * 上一执行人id
     */
	@TableField("LAST_USER_ID")
	private String lastUserId;
    /**
     * 下一执行人姓名
     */
	@TableField("NEXT_USER_NAME")
	private String nextUserName;
    /**
     * 下一执行人id
     */
	@TableField("NEXT_USER_ID")
	private String nextUserId;
    /**
     * 代理人姓名
     */
	@TableField("TASK_AGENT_NAME")
	private String taskAgentName;
    /**
     * 下一节点可能审批代理人id (还可能是下一节点本人处理)
     */
	@TableField("TASK_AGENT_ID")
	private String taskAgentId;
    /**
     * 是否是秘书角色处理（0 不是秘书 1 特定秘书 2 秘书角色）
     */
	@TableField("IS_SECREATARY")
	private String isSecreatary;
    /**
     * 当前提交/审批人所在部门的主部门i名称
     */
	@TableField("TASK_DEPT_MAJOR_NAME")
	private String taskDeptMajorName;
    /**
     * 当前提交/审批人所在部门的主部门id
     */
	@TableField("TASK_DEPT_MAJOR_ID")
	private String taskDeptMajorId;
    /**
     * 当前提交/审批人部门名称
     */
	@TableField("TASK_DEPT_NAME")
	private String taskDeptName;
    /**
     * 当前提交/审批人部门id
     */
	@TableField("TASK_DEPT_ID")
	private String taskDeptId;
    /**
     * 当前提交/审批人姓名
     */
	@TableField("TASK_USER_NAME")
	private String taskUserName;
    /**
     * 当前提交/审批人ID 相当于createUser
     */
	@TableField("TASK_USER_ID")
	private String taskUserId;
    /**
     * 主表id
     */
	@TableField("TASK_ID")
	private String taskId;
    /**
     * Start,task,end,trans
     */
	@TableField("NODE_NAME")
	private String nodeName;
    /**
     * 节点id 如 1，2，3，2-0
     */
	@TableField("NODE_ID")
	private String nodeId;
    /**
     * 公文id
     */
	@TableField("DOC_ID")
	private String docId;
    /**
     * id
     */
	private String id;
    /**
     * 操作类型 1 pc端 2手机端
     */
	@TableField("OPERATE_TYPE")
	private Integer operateType;

	@TableField(exist = false)
	private String taskState;
	/**
	 * 审核人的头像地址
	 */
	@TableField(exist = false)
	private String pic;

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Integer getWorkState() {
		return workState;
	}

	public void setWorkState(Integer workState) {
		this.workState = workState;
	}

	public Integer getIsLast() {
		return isLast;
	}

	public void setIsLast(Integer isLast) {
		this.isLast = isLast;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public Integer getIsOvertime() {
		return isOvertime;
	}

	public void setIsOvertime(Integer isOvertime) {
		this.isOvertime = isOvertime;
	}

	public Integer getIsSign() {
		return isSign;
	}

	public void setIsSign(Integer isSign) {
		this.isSign = isSign;
	}

	public Integer getIsBack() {
		return isBack;
	}

	public void setIsBack(Integer isBack) {
		this.isBack = isBack;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getTaskContent() {
		return taskContent;
	}

	public void setTaskContent(String taskContent) {
		this.taskContent = taskContent;
	}

	public String getTaskTime() {
		return taskTime;
	}

	public void setTaskTime(String taskTime) {
		this.taskTime = taskTime;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getParentTaskId() {
		return parentTaskId;
	}

	public void setParentTaskId(String parentTaskId) {
		this.parentTaskId = parentTaskId;
	}

	public String getLastUserName() {
		return lastUserName;
	}

	public void setLastUserName(String lastUserName) {
		this.lastUserName = lastUserName;
	}

	public String getLastUserId() {
		return lastUserId;
	}

	public void setLastUserId(String lastUserId) {
		this.lastUserId = lastUserId;
	}

	public String getNextUserName() {
		return nextUserName;
	}

	public void setNextUserName(String nextUserName) {
		this.nextUserName = nextUserName;
	}

	public String getNextUserId() {
		return nextUserId;
	}

	public void setNextUserId(String nextUserId) {
		this.nextUserId = nextUserId;
	}

	public String getTaskAgentName() {
		return taskAgentName;
	}

	public void setTaskAgentName(String taskAgentName) {
		this.taskAgentName = taskAgentName;
	}

	public String getTaskAgentId() {
		return taskAgentId;
	}

	public void setTaskAgentId(String taskAgentId) {
		this.taskAgentId = taskAgentId;
	}

	public String getIsSecreatary() {
		return isSecreatary;
	}

	public void setIsSecreatary(String isSecreatary) {
		this.isSecreatary = isSecreatary;
	}

	public String getTaskDeptMajorName() {
		return taskDeptMajorName;
	}

	public void setTaskDeptMajorName(String taskDeptMajorName) {
		this.taskDeptMajorName = taskDeptMajorName;
	}

	public String getTaskDeptMajorId() {
		return taskDeptMajorId;
	}

	public void setTaskDeptMajorId(String taskDeptMajorId) {
		this.taskDeptMajorId = taskDeptMajorId;
	}

	public String getTaskDeptName() {
		return taskDeptName;
	}

	public void setTaskDeptName(String taskDeptName) {
		this.taskDeptName = taskDeptName;
	}

	public String getTaskDeptId() {
		return taskDeptId;
	}

	public void setTaskDeptId(String taskDeptId) {
		this.taskDeptId = taskDeptId;
	}

	public String getTaskUserName() {
		return taskUserName;
	}

	public void setTaskUserName(String taskUserName) {
		this.taskUserName = taskUserName;
	}

	public String getTaskUserId() {
		return taskUserId;
	}

	public void setTaskUserId(String taskUserId) {
		this.taskUserId = taskUserId;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getOperateType() {
		return operateType;
	}

	public void setOperateType(Integer operateType) {
		this.operateType = operateType;
	}

	public String getTaskState() {
		return taskState;
	}

	public void setTaskState(String taskState) {
		this.taskState = taskState;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
